# /usr/bin/env python3.6
# -*- encoding: utf-8 -*-
"""
@File    : requ.py
@Time    : 2020/2/5 0005 11:18
@Author  : zhangbing
@Email   : 18829172841@163.com
@Software: PyCharm
"""
import requests


def get_data():
    headers = {
        "User-Agent": "huohu"  # 定义头部
    }
    resp = requests.get("http://192.168.3.100/api/1/", headers=headers)
    print(resp.json())


if __name__ == "__main__":
    get_data()
